<html xmlns:th="http://www.thymeleaf.org">

<head th:fragment="all_head(all_title)" >

  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <title th:text="${all_title}"></title>
  <!-- Tell the browser to be responsive to screen width -->
  <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">

  <link rel="stylesheet" href="/bootstrap/dist/css/bootstrap.min.css">
  <!--<link rel="stylesheet" href="/v1/dist/css/AdminLTE.min.css">-->
  <!--<link rel="stylesheet" href="/v1/bower_components/font-awesome/css/font-awesome.min.css">-->
  <!--<link rel="stylesheet" href="/v1/ztree/css/zTreeStyle/zTreeStyle.css">-->
  <!-- DataTables -->
  <!--<link rel="stylesheet" href="/v1/bower_components/datatables.net-bs/css/dataTables.bootstrap.min.css">-->
  <!--<link rel="stylesheet" href="/v1/icheck/skins/all.css">-->
  <!--[if lt IE 9]>
  <!--<script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>-->
  <!--<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>-->
  <![endif]-->
  <!-- Google Font -->
  <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,600,700,300italic,400italic,600italic">
  <!--<link rel="stylesheet" href="/v1/jqPop/layer-animate.css">-->
<style>
  table{
    border-collapse:collapse;
    border-spacing:0;
    border-left:1px solid #888;
    border-top:1px solid #888;
  }
  table th td{
    border-right:1px solid #888;
    border-bottom:1px solid #888;
    padding:5px 15px;
  }
  table th{
    background-color: #1f8ab2;
    color: white;
    text-align: center;
    vertical-align: middle!important;
  }
</style>

</head>

<body>
统一的head配置
<h1 th:fragment="all_t_h(ls_text)">
  <!--<span style="color: #0b58a2;"  th:text="${session.CurrentBusiness!=null?session.CurrentBusiness.getMingc():'平台管理'}"></span>-->
  <small  th:if="${ls_text!=null}" th:text="${ls_text}">&nbsp;</small>
</h1>

<div th:fragment="all_js">

  <script src="jquery/dist/jquery.min.js"></script>
  <script src="bootstrap/dist/js/bootstrap.min.js"></script>
  <script src="bootstrap/dist/js/bootbox.min.js"></script>
  <!--<script src="/v1/bower_components/datatables.net/js/jquery.dataTables.min.js"></script>-->
  <!--<script src="/v1/bower_components/datatables.net-bs/js/dataTables.bootstrap.min.js"></script>-->
  <script src="bootstrap/dist/js/bootstrap-paginator.min.js"></script>
  <!--<script src="/v1/ztree/js/jquery.ztree.core.js"></script>-->
  <!--<script src="/v1/ztree/js/jquery.ztree.excheck.min.js"></script>-->
  <!--<script src="/v1/jqPop/method.js?time=10001"></script>-->

  <!-- AdminLTE App -->
  <!--<script src="/v1/dist/js/adminlte.min.js"></script>-->
  <!--日期格式化-->
  <!--<script src="/v1/js/DateFormat.js"></script>-->
  <!--sha1加密-->
  <!--<script src="/v1/js/sha1.js"></script>-->
  <!--<script src="/v1/icheck/js/icheck.min.js"></script>-->
  <script>
    function editCheckRadioCss(_name) {
        if(_name==null||_name==undefined || _name == ""){
            _name = "input";
        }
        //修改checkbox样式
        $(_name).iCheck({
            checkboxClass: 'icheckbox_minimal-blue',
            radioClass: 'iradio_square-blue',
            increaseArea: '20%'
        });
    }
    function showPopover(target, msg,placement) {
        if(placement==null || placement == undefined || placement == ""){
            placement ="top";
        }
        target.attr("data-original-title", msg);
        target.attr("data-placement", placement);

        $('[data-toggle="tooltip"]').tooltip();
        target.popover('show');
        target.focus();

        //2秒后消失提示框
        var id = setTimeout(
            function () {
                target.attr("data-original-title", "");
                target.popover('hide');
            }, 2000
        );
    }
  </script>
</div>

</body>
</html>